<?php

namespace App\Http\Controllers\Wx;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Models\Tag;

class TagController extends Controller
{
    /**
     * 找好货--大家都在搜
     */
    public function index()
    {
    	$rs['status']     = true;       
        $list = Tag::select(['id','name'])
                    ->where('is_rec',1)
                    ->get();
        $rs['data'] = $list;
        return response()->json($rs);
    }
}
